{% extends "base.html" %}
{% load i18n %}
{% block style %}

{% endblock %}
{% block title %}
    <title>{% trans 'Details of the problem' %}</title>
{% endblock %}
<body>
{% block detail %}
    <div class="main clearfix">
        <div class="mPart">
            <div class="article">
                <h2>{{ case.name }}</h2>

                <p class="info"><span>{{ case.date|timesince }}</span>
                    <em>{{ case.ownership.name }}</em><i>/</i><em>{{ case.company_scale.name }}</em><i>/</i><em>{{ case.industry.name }}</em><i>/</i><em>{{ case.department.name }}</em>
                </p>

                <h3 class="solveT bg01">{{ problem.name }}</h3>

                <div class="article_con solveC">
                    <p>
                        {{ problem.description|safe }}
                    </p>
                </div>
                {% if solutions %}
                    {% for solution in solutions %}
                        <h3 class="solveT bg02">{{ solution.name }}</h3>
                        <div class="article_con solveC">
                            <p>{{ solution.description|safe }}</p>
                        </div>
                    {% endfor %}
                {% endif %}

            </div>
        </div>
    </div>

{% endblock %}
</body>

